﻿@{
    ViewData["Title"] = "ASP.NET CORE 快速开发框架";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
        <div class="container-fluid cl">
            <a class="logo navbar-logo f-l mr-10 hidden-xs" href="@Url.Action("index")">LdCms管理后台</a> <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml">LdCms</a>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs">V1.0</span>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
            <nav class="nav navbar-nav">
                <ul class="cl">
                    <li class="dropDown dropDown_hover">
                        <a href="javascript:;" class="dropDown_A"><i class="Hui-iconfont">&#xe600;</i> 新增 <i class="Hui-iconfont">&#xe6d5;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" onclick="article_add('添加资讯','@Url.Action("Developing","Error")')"><i class="Hui-iconfont">&#xe616;</i> 资讯</a></li>
                            <li><a href="javascript:;" onclick="picture_add('添加资讯','@Url.Action("Developing","Error")')"><i class="Hui-iconfont">&#xe613;</i> 图片</a></li>
                            <li><a href="javascript:;" onclick="product_add('添加资讯','@Url.Action("Developing","Error")')"><i class="Hui-iconfont">&#xe620;</i> 产品</a></li>
                            <li><a href="javascript:;" onclick="member_add('添加用户','@Url.Action("Developing","Error")','','')"><i class="Hui-iconfont">&#xe60d;</i> 用户</a></li>
                        </ul>
                    </li>
                    <li class="navbar-levelone current"><a href="javascript:;">平台</a></li>
                    <li class="navbar-levelone"><a href="javascript:;">官网</a></li>
                    <li class="navbar-levelone"><a href="javascript:;">微信</a></li>
                    <li class="navbar-levelone"><a href="javascript:;">财务</a></li>
                </ul>
            </nav>
            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                <ul class="cl">
                    <li><a href="@Url.Action("index","home")" target="_blank">访问网站</a>　</li>
                    <li>@ViewBag.StaffName</li>
                    <li class="dropDown dropDown_hover">
                        <a href="#" class="dropDown_A">@ViewBag.StaffID <i class="Hui-iconfont">&#xe6d5;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" onClick="myselfinfo()">个人信息</a></li>
                            <li><a href="#">切换账户</a></li>
                            <li><a href="@Url.Action("logout","admin")">退出</a></li>
                        </ul>
                    </li>
                    <li id="Hui-msg"> <a href="#" title="消息"><span class="badge badge-danger">1</span><i class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a> </li>
                    <li id="Hui-skin" class="dropDown right dropDown_hover">
                        <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
                            <li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
                            <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
                            <li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
                            <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
                            <li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</header>
<aside class="Hui-aside">
    <div class="menu_dropdown bk_2">
        <dl id="menu-admin">
            <dt><i class="Hui-iconfont">&#xe62d;</i> 管理员管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("List","SysOperator")" data-title="操作员管理" href="javascript:void(0)">操作员管理</a></li>
                    <li><a data-href="@Url.Action("List","SysFunction")" data-title="权限管理" href="javascript:void(0)">权限管理</a></li>
                    <li><a data-href="@Url.Action("List","SysRole")" data-title="角色管理" href="javascript:void(0)">角色管理</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-institution">
            <dt><i class="Hui-iconfont">&#xe643;</i> 公司管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("List","InstitutionCompany")" data-title="资料管理" href="javascript:void(0)">资料管理</a></li>
                    <li><a data-href="@Url.Action("List","InstitutionDepartment")" data-title="部门管理" href="javascript:void(0)">部门管理</a></li>
                    <li><a data-href="@Url.Action("List","InstitutionPosition")" data-title="职位管理" href="javascript:void(0)">职位管理</a></li>
                    <li><a data-href="@Url.Action("List","InstitutionStore")" data-title="网点管理" href="javascript:void(0)">网点管理</a></li>
                    <li><a data-href="@Url.Action("List","InstitutionStaff")" data-title="员工管理" href="javascript:void(0)">员工管理</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-educ">
            <dt><i class="Hui-iconfont">&#xe620;</i> 商品管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("Developing","Error")" data-title="报名分类" href="javascript:void(0)">商品管理</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-order">
            <dt><i class="Hui-iconfont">&#xe687;</i> 订单管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("Developing","Error")" data-title="订单管理" href="javascript:void(0)">订单管理</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-member">
            <dt><i class="Hui-iconfont">&#xe60d;</i> 会员管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("List","MemberRank")" data-title="等级管理" href="javascript:;">等级管理</a></li>
                    <li><a data-href="@Url.Action("List","MemberAccount")" data-title="会员资料" href="javascript:;">会员资料</a></li>
                    <li><a data-href="@Url.Action("ListDelete","MemberAccount")" data-title="会员列表" href="javascript:;">删除的会员</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-services">
            <dt><i class="Hui-iconfont">&#xe6d0;</i> 客服管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("List","ServiceMessageBoard")" data-title="留言管理" href="javascript:void(0)">留言管理</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-interface">
            <dt><i class="Hui-iconfont">&#xe6f1;</i> 接口管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("Show","SysAccessCorsHost")" data-title="接口设置" href="javascript:void(0)">接口设置</a></li>
                    <li><a data-href="@Url.Action("List","SysInterfaceAccount")" data-title="用户管理" href="javascript:void(0)">账号管理</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-system">
            <dt><i class="Hui-iconfont">&#xe62e;</i> 系统管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("Index","SysConfig")" data-title="系统设置" href="javascript:void(0)">系统设置</a></li>
                    <li><a data-href="@Url.Action("List","LogTable")" data-title="数据字典" href="javascript:void(0)">数据字典</a></li>
                    <li><a data-href="@Url.Action("List","LogTableOperation")" data-title="数据字典" href="javascript:void(0)">操作记录</a></li>
                    <li><a data-href="@Url.Action("Shielding","SysConfig")" data-title="屏蔽词" href="javascript:void(0)">屏蔽词</a></li>
                    <li><a data-href="@Url.Action("List","LogLoginRecord")" data-title="系统日志" href="javascript:void(0)">系统日志</a></li>
                </ul>
            </dd>
        </dl>
    </div>
    <div class="menu_dropdown bk_2" style="display:none">
        <dl id="menu-notice">
            <dt><i class="Hui-iconfont">&#xe616;</i> 公告管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("List","InfoNoticeCategory")" data-title="公告类别" href="javascript:void(0)">类别管理</a></li>
                    <li><a data-href="@Url.Action("List","InfoNotice")" data-title="公告信息" href="javascript:void(0)">公告信息</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-notice">
            <dt><i class="Hui-iconfont">&#xe616;</i> 栏目管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("List","InfoClass")" data-title="分类栏目" href="javascript:void(0)">栏目分类</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-notice">
            <dt><i class="Hui-iconfont">&#xe616;</i> 内容管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("List","InfoContent")" data-title="内容管理" href="javascript:void(0)">内容管理</a></li>
                    <li><a data-href="@Url.Action("ListDelete","InfoArtice")" data-title="回收站" href="javascript:void(0)">回收站</a></li>
                    <li><a data-href="@Url.Action("List","InfoBlock")" data-title="区块管理" href="javascript:void(0)">区块管理</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-notice">
            <dt><i class="Hui-iconfont">&#xe616;</i> 扩展管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("Developing","Error")" data-title="分类栏目" href="javascript:void(0)">广告管理</a></li>
                    <li><a data-href="@Url.Action("List","ExtendLink")" data-title="分类栏目" href="javascript:void(0)">友情链接</a></li>
                    <li><a data-href="@Url.Action("List","ExtendSearchKeyword")" data-title="搜索管理" href="javascript:void(0)">搜索管理</a></li>
                </ul>
            </dd>
        </dl>
    </div>
    <div class="menu_dropdown bk_2" style="display:none">
        <dl id="menu-ccccc">
            <dt><i class="Hui-iconfont">&#xe616;</i> 微信管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("Developing", "Error")" data-title="微信配置" href="javascript:void(0)">微信管理</a></li>
                </ul>
            </dd>
        </dl>
    </div>
    <div class="menu_dropdown bk_2" style="display:none">
        <dl id="menu-bbbbb">
            <dt><i class="Hui-iconfont">&#xe63a;</i> 财务管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="@Url.Action("Developing", "Error")" data-title="财务管理" href="javascript:void(0)">财务管理</a></li>
                </ul>
            </dd>
        </dl>
    </div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active">
                    <span title="我的桌面" data-href="welcome.html">我的桌面</span>
                    <em></em>
                </li>
            </ul>
        </div>
        <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
    </div>
    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <iframe scrolling="yes" frameborder="0" src="@Url.Action("welcome")"></iframe>
        </div>
    </div>
</section>

<div class="contextMenu" id="Huiadminmenu">
    <ul>
        <li id="closethis">关闭当前 </li>
        <li id="closeall">关闭全部 </li>
    </ul>
</div>
@*
    --------------
    页面底部JS脚本
    --------------
*@
@section scripts{
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="~/admin/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
    <script type="text/javascript">
        $(function () {
            /*$("#min_title_list li").contextMenu('Huiadminmenu', {
                bindings: {
                    'closethis': function(t) {
                        console.log(t);
                        if(t.find("i")){
                            t.find("i").trigger("click");
                        }
                    },
                    'closeall': function(t) {
                        alert('Trigger was '+t.id+'\nAction was Email');
                    },
                }
            });*/


            $("body").Huitab({
                tabBar: ".navbar-wrapper .navbar-levelone",
                tabCon: ".Hui-aside .menu_dropdown",
                className: "current",
                index: 0,
            });
        });
        /*个人信息*/
        function myselfinfo() {
            layer.open({
                type: 1,
                area: ['800px', '768px'],
                fix: false, //不固定
                maxmin: true,
                shade: 0.4,
                title: '查看信息',
                content: '<div>管理员信息</div>'
            });
        }

        /*资讯-添加*/
        function article_add(title, url) {
            var index = layer.open({
                type: 2,
                title: title,
                content: url
            });
            layer.full(index);
        }
        /*图片-添加*/
        function picture_add(title, url) {
            var index = layer.open({
                type: 2,
                title: title,
                content: url
            });
            layer.full(index);
        }
        /*产品-添加*/
        function product_add(title, url) {
            var index = layer.open({
                type: 2,
                title: title,
                content: url
            });
            layer.full(index);
        }
        /*用户-添加*/
        function member_add(title, url, w, h) {
            layer_show(title, url, w, h);
        }


    </script>
}